package com.treasure.mall.zbqmallapi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 *
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.zbqmallapi.dto
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/6/13 17:35
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 * Copyright 2019-2022 com.treasure.mall.zbqmallapi.dto Inc. All rights reserved.
 */
@ApiModel("创建订单")
@Data
public class CreateOrder {

    /**
     * 启用鉴宝服务
     */
    @ApiModelProperty("启用鉴宝服务")
    private Boolean enableIdentification;
    /**
     *
     */
    @ApiModelProperty("用户留言")
    private String comment;
    /**
     * goodsId:num,goodsId:num
     */
    @ApiModelProperty(value = "产品信息，格式goodsId:num,goodsId:num", required = true)
    private String productInfo;

    /**
     * 收货地址
     */
    @ApiModelProperty(value = "收货地址", required = true)
    private WxAddress address;
    /**
     * 使用余额支付部分
     */
    @ApiModelProperty(value = "使用余额支付部分", required = true)
    private BigDecimal balancePay;
    /**
     * 0 普通订单
     * 1 直播订单
     */
    @ApiModelProperty(value = "0 普通订单,1 直播订单 ,默认0")
    private int orderType = 0;
    /**
     * 直播场次
     */
    @ApiModelProperty(value = "直播场次ID，直播订单时必填")
    private String liveSessionId;

    @ApiModelProperty(value = "拍卖场次ID，拍卖订单时必填")
    private Long auctionSessionId;

    @ApiModelProperty(value = "来源0 小程序  1 APP")
    private Integer source = 0;


}
